package com.gao.frame.study.shop.config.module.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

@Data
@TableName(value = "shipping_info")
public class ShippingInfo {
    /**
     * 主键id
     */
     @TableId(value = "ship_id", type = IdType.AUTO)
    private Byte shipId;

    /**
     * 物流公司名称
     */
    @TableField(value = "ship_name")
    private String shipName;

    /**
     * 物流公司联系人
     */
    @TableField(value = "ship_contact")
    private String shipContact;

    /**
     * 物流公司联系电话
     */
    @TableField(value = "telphone")
    private String telphone;

    /**
     * 配送价格
     */
    @TableField(value = "price")
    private BigDecimal price;

    /**
     * 最后修改时间
     */
    @TableField(value = "modified_time")
    private Date modifiedTime;

    public static final String COL_SHIP_NAME = "ship_name";

    public static final String COL_SHIP_CONTACT = "ship_contact";

    public static final String COL_TELPHONE = "telphone";

    public static final String COL_PRICE = "price";

    public static final String COL_MODIFIED_TIME = "modified_time";
}